title: “R Notebook” output: html_notebook
Git solves this problem for code. Code is different from normal writing because your end depends on your beginning. Uses multiple files.
From datacamp: * Nothing that is saved to Git is ever lost, so you can always go back to see which results were generated by which versions of your programs. * Git automatically notifies you when your work conflicts with someone else’s, so it’s harder (but not impossible) to accidentally overwrite work. * Git can synchronize work done by different people on different machines, so it scales as your team does.
Nothing that is saved to Git is ever lost, so you can always go back to see which results were generated by which versions of your programs.
Git automatically notifies you when your work conflicts with someone else’s, so it’s harder (but not impossible) to accidentally overwrite work.
Git can synchronize work done by different people on different machines, so it scales as your team does.
The repository is the folder in which everything is tracked A commit is a snapshot Public repo Private repo
git add to stage a commit. git commit to commit the staged items.
git init or git clonegit addgit commitgit pushgit pullgit diffSet your username $ git config --global user.name "John Doe" Set your email $ git config --global user.email johndoe@example.com Set your $ git config --global init.defaultBranch main $ git config --list
If you don’t want to enter your github password every time, then set a key using this link
Edit this file.